﻿<Upload AllowFileType="@AllowFiles" MaxFileLength="20971520" OnSetHeaders="@OnSetHeaders"></Upload>

@code {
    private IEnumerable<UploadHeader> OnSetHeaders()
    {
        return new UploadHeader[]
        {
            new UploadHeader("Authorization", "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c")
        };
    }
}
